// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Widgets/Views/STableRow.h"

class SElectAssetsView;
/**
 * 
 */
class SElectAssetRow : public SMultiColumnTableRow<TSharedPtr<FName>>
{
public:
	SLATE_BEGIN_ARGS(SElectAssetRow)
	{}
	SLATE_ARGUMENT(TSharedPtr<STableViewBase>, OwnerTableView)
		SLATE_ARGUMENT(TSharedPtr<FName>, AssetName)
	SLATE_END_ARGS()

	/** Constructs this widget with InArgs */
	void Construct(const FArguments& InArgs, SElectAssetsView* InElectAssetsView);

	virtual TSharedRef<SWidget> GenerateWidgetForColumn(const FName& ColumnName) override;

protected:

	TSharedPtr<FName> AssetName;

	SElectAssetsView* ElectAssetsView;

	static const FName Col_AssetName;
};
